<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/common/taglib.jsp"%>
<link rel="stylesheet" type="text/css" href="/resources/css/style.css">

<div class="easyui-layout" fit="true">
    <div region="center" border="false" style="overflow-x:hidden">
        <div class="pd10">
            <div class="tableform">
            	<form id="companyForm" method="post"> 
	             	<input type="hidden" name="companyId" id="companyId" value="${company.companyId}"/>
	                <table cellpadding="0" cellspacing="0">
	                	<tr>
	                    	<th width="80px"><font color="red">*</font>企业编号：</th>
	                        <td>
	                        	<input name="companyCode" id="companyCode" style="width: 280px; height: 25px;" class="easyui-validatebox" data-options="required:true" value="${company.companyCode}"/>
	                        </td>
	                    </tr>
	                    <tr>
	                    	<th width="100"><font color="red">*</font>企业名称：</th>
							<td>
								<input name="companyName" id="companyName" style="width: 280px; height: 25px;" class="easyui-validatebox" data-options="required:true" value="${company.companyName}"/>
						   </td>
	                    </tr>
	                    <tr>
	                    	<th><font color="red">*</font>地&#12288;&#12288;址：</th>
	                        <td>
	                        	<input name="companyAddress" style="width: 280px; height: 25px;"  class="easyui-validatebox" data-options="required:true" value="${company.companyAddress}"/>
	                       	</td>
	                    </tr>
	                    <tr>
	                    	<th><font color="red">*</font>联&nbsp;系&nbsp;人：</th>
	                        <td>
	                        	<input name="contactMan" style="width: 280px; height: 25px;" class="easyui-validatebox" data-options="required:true" value="${company.contactMan}"/>
	                       	</td>
	                    </tr>
	                    <tr>
	                    	<th><font color="red">*</font>电&#12288;&#12288;话：</th>
	                        <td>
	                        	<input id="valTel" name="telephone" style="width: 280px; height: 25px;" class="easyui-numberbox" validType="validateTel['#valTel']" data-options="required:true" value="${company.telephone}"/>
	                       	</td>
	                    </tr>
	                    <tr>
	                    	<th>传&#12288;&#12288;真：</th>
	                        <td>
	                        	<input name="fax" style="width: 280px; height: 25px;" class="easyui-validatebox" value="${company.fax}"/>
	                       	</td>
	                    </tr>
	                </table>
                </form>
            </div>
        </div>
    </div>
    <!--start：button区域-->
    <div region="south" style="height:36px;overflow:hidden;" border="false">
        <div class="WinBtnBody pdt5">
            <table align="center"border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <a href="javascript:void(0)" onclick="EditCompany.submitForm()" class="easyui-linkbutton" plain="true" iconCls="add">保存</a>
                        <a href="javascript:void(0)" onclick="Ict.closeWin();" class="easyui-linkbutton" plain="true" iconCls="remove">关闭</a>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <!--end：button区域-->
</div>

<!-- ==================页面操作JS================ -->
<script type="text/javascript" src="/resources/js/pc/company/edit.js"></script>